import axios from 'axios'
import { ElMessage } from 'element-plus'
const axiosInstance = axios.create({
    baseURL: 'http://localhost:7444/'
});
//请求拦截
axiosInstance.interceptors.request.use(

)
//响应拦截
axiosInstance.interceptors.response.use(

    response => {
        //请求成功将数据返回
        return response.data    
    },
    error => {
        //失败提示信息
        
        return Promise.reject(error)
    }
)
export default axiosInstance